#include "defaults.h"
#include "primitiverenderer.h"

using namespace std;
	
vector< std::pair<std::string, Vec3n> > PrimitiveRenderer::GenColorTable() {
	vector< pair<string, Vec3n> > markColor;
	markColor.push_back(pair<string, Vec3n>("Grey", math::V3n(0.8, 0.8, 0.8)));
	markColor.push_back(pair<string, Vec3n>("Red", math::V3n(1.0, 0.0, 0.0)));
	markColor.push_back(pair<string, Vec3n>("Green", math::V3n(0.0, 1.0, 0.0)));
	markColor.push_back(pair<string, Vec3n>("Blue", math::V3n(0.0, 0.0, 1.0)));
	markColor.push_back(pair<string, Vec3n>("Yellow", math::V3n(1.0, 1.0, 0.0)));
	markColor.push_back(pair<string, Vec3n>("Magenta", math::V3n(1.0, 0.0, 1.0)));
	markColor.push_back(pair<string, Vec3n>("Cyan", math::V3n(0.0, 1.0, 1.0)));
	markColor.push_back(pair<string, Vec3n>("Orange", math::V3n(1.0, 0.5, 0.0)));
	markColor.push_back(pair<string, Vec3n>("Purple", math::V3n(0.5, 0.0, 1.0)));
	markColor.push_back(pair<string, Vec3n>("White", math::V3n(1.0, 1.0, 1.0)));
	markColor.push_back(pair<string, Vec3n>("Darker Grey", math::V3n(161.0f / 255.0f, 161.0f / 255.0f, 161.0f / 255.0f)));
	markColor.push_back(pair<string, Vec3n>("Black", math::V3n(0.0, 0.0, 0.0)));
	return markColor;
}

std::vector< std::pair<std::string, Vec3n> > PrimitiveRenderer::color = PrimitiveRenderer::GenColorTable();

size_t PrimitiveRenderer::currentColor = 0;

bool& PrimitiveRenderer::Visible() {

}

const bool& PrimitiveRenderer::Visible() const {

}
